package redis

type zskiplistLevel struct {
	// 下个节点
	forward *zskiplistNode
	// 跨度
	span uint32
}

// len level 头结点 32
type zskiplistNode struct {
	// 回跳指针 快速遍历
	bw *zskiplistNode
	// double
	score float64
	robj  interface{}
	level []*zskiplistLevel
}

type zskiplist struct {
	head *zskiplistNode
	tail *zskiplistNode
	len  uint32
	// 层数最高的节点数
	level int
}
